package cn.wolfcode.luowowo.comment.repository;

import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface StrategyCommentPageRepository  extends PagingAndSortingRepository<StrategyComment,String> {
    Page<StrategyComment> findByDetailId(Long detailId, PageRequest createTime);
}
